package com.lp.lamda;

public class Test {
    public static void main(String[] args) {
        TestA a = new TestA();
        Thread t1 = new Thread(a);
        t1.start();
        Thread t2 = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("Hello World2！");
            }
        });
        t2.start();
        Thread t3 = new Thread(() ->{
            System.out.println("Hello Wolrd3!");
        });
        t3.start();
    }
}
